package com.example.administrator.testdagger.design.state;

import android.content.Context;
import android.content.Intent;

import com.example.administrator.testdagger.MainActivity;

/**
 * com.example.administrator.testdagger.design.state
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/6/25 15:44
 * @see com.example.administrator.testdagger.design.state
 */
public class LogOutState implements UserState{
    @Override
    public void forward(Context context) {
        context.startActivity(new Intent(context, MainActivity.class));
    }

    @Override
    public void commend(Context context) {
        context.startActivity(new Intent(context, MainActivity.class));
    }
}
